package com.design.patterns.list.visitor;

/**
 * 具体的访问值，实现每个有Visitor声明的操作，是每个操作实现的部分
 * @author Wangzhiwen
 */
public class ConcreteOneVisitor implements Visitor {

    @Override
    public void operationalOne(ConcreteOneElement concreteOneElement) {
        System.out.println("ConcreteOneVisitor ConcreteOneElement Print");
    }

    @Override
    public void operationalTwo(ConcreteTwoElement concreteTwoElement) {
        System.out.println("ConcreteOneVisitor ConcreteTwoElement Print");
    }
}
